home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
17 Bit Software 6: Level 6
/
17 Bit - Level 6 (1998)(Epic Marketing)[!].iso
/
quartz
/
q1082.dms
/
q1082.adf
/
src.lzh
/
Fig
/
fig.h
< prev
next >
Wrap
C/C++ Source or Header
|
1991-07-18
|
1KB
|
77 lines
/*
* FIG : Facility for Interactive Generation of figures
*
* Copyright (c) 1985 by Supoj Sutanthavibul (supoj@sally.UTEXAS.EDU)
* January 1985.
* 1st revision : Aug 1985.
*
* %W% %G%
*/
#ifndef X11
#ifdef AMIGA
/*#include "stdio.h"*/
#undef GLOBAL_DATA
struct timelength{
int tv_sec;
int tv_usec;};
struct itimerval{
struct timelength it_interval;
struct timelength it_value;};
/*typedef void * caddr_t;*/
typedef unsigned int u_int;
#else
#include <sys/types.h>
#include <sys/file.h>
#include <sys/time.h>
#endif
#else
#include <X11/Xos.h>
#endif
/*#include <sys/types.h>*/
/*#include <sys/stat.h>*/
/*#include <fcntl.h>*/
/*#include <pwd.h>*/
/*#include <signal.h>*/
/*#include <stdio.h>*/
/*#include <ctype.h>*/
/*#include <errno.h>*/
/*#include <math.h>*/
#ifndef M_PI
#define M_PI 3.14159265358979323846
#define M_PI_2 1.57079632679489661923
#endif
#ifndef X11
#ifdef AMIGA
#else
#include <suntool/tool_hs.h>
#include <suntool/wmgr.h>
#include <suntool/menu.h>
#endif
#else
#include <X11/Xlib.h>
#include <X11/cursorfont.h>
#include <X11/Intrinsic.h>
#include <X11/StringDefs.h>
#include <X11/Shell.h>
#include <X11/Command.h>
#include <X11/Label.h>
#include <X11/Dialog.h>
#include <X11/Box.h>
#include <X11/Form.h>
#endif X11